Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the OPENVAS_DEFAULT_SOCKET configurable via cmake. #1244

Merged
merged 2 commits into from
Aug 11, 2020
Merged

Make the OPENVAS_DEFAULT_SOCKET configurable via cmake. #1244

merged 2 commits into from
Aug 11, 2020

Conversation

cfi-gb
Copy link
Member

@cfi-gb cfi-gb commented Aug 10, 2020

This is a follow-up of #1238 to make the default path configurable on build time. It will be also used for #1240 to set the OSP_VT_UPDATE in the gvmd.default in a second step (and once #1240 was merged).

To test i have called cmake with an additional -DOPENVAS_DEFAULT_SOCKET=/test/ospd/ospd.sock, after setting up a fresh database i have verified that the default socket is directly configured in the database:

$ gvmd --get-scanners
08b69003-5fc2-4037-a479-93b440211c73  OpenVAS  /test/ospd/ospd.sock  0  OpenVAS Default
6acd0832-df90-11e4-b9d5-28d24461215b  CVE    0  CVE

The same was also done without the cmake config where the scanner is having the default path:

$ gvmd --get-scanners
08b69003-5fc2-4037-a479-93b440211c73  OpenVAS  /var/run/ospd/ospd.sock  0  OpenVAS Default
6acd0832-df90-11e4-b9d5-28d24461215b  CVE    0  CVE

Checklist:

@cfi-gb cfi-gb requested a review from a team August 10, 2020 15:32
@timopollmeier timopollmeier merged commit c2b022b into greenbone:gvmd-20.08 Aug 11, 2020
@cfi-gb cfi-gb deleted the make_ospd_sock_configurable branch August 11, 2020 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants